package com.houweishi.module.type.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.houweishi.common.annotation.Excel;
import com.houweishi.common.core.domain.BaseEntity;

/**
 * 审批模板对象 biz_approval_type
 * 
 * @author houweishi
 * @date 2023-02-21
 */
@Data
public class BizApprovalType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 申请类型 */
    @Excel(name = "申请类型")
    private String approvalType;

    /** 审批人(多个） */
    @Excel(name = "审批人(多个）")
    private String approver;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    @Excel(name = "审批人姓名(多个）")
    /** 审批人姓名(多个） */
    private String approverName;

    /** 抄送人id */
//    @Excel(name = "审批人id")
    private String copyerId;

    /** 抄送人姓名 */
    @Excel(name = "审批人姓名")
    private String copyerName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApprovalType(String approvalType) 
    {
        this.approvalType = approvalType;
    }

    public String getApprovalType() 
    {
        return approvalType;
    }
    public void setApprover(String approver) 
    {
        this.approver = approver;
    }

    public String getApprover() 
    {
        return approver;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("approvalType", getApprovalType())
            .append("approver", getApprover())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
